package edu.sctu.nieyu.day20150521.textone;

/**
 * Created by user01 on 2015/5/21.
 */
public class Car extends Traffic implements Inter {
    @Override
    public void method () {
        System.out.println("装载乘客100人");
    }

    @Override
    public void method1() {
        System.out.println("在陆地上行驶");
    }

    @Override
    public void getMessage() {

        System.out.println("汽车：");

        Traffic car = new Car();
        car.method();
        car.method1();
    }
}
